package com.ternnetwork.cms.service.carousel;

import com.ternnetwork.cms.model.carousel.Carousel;
import com.ternnetwork.commons.model.http.BaseResponse;
import com.ternnetwork.persistence.page.Page;

public interface CarouselService {
	    public BaseResponse idoAdd(Carousel t);
	    
	    public BaseResponse idoUpdate(Carousel t);
	    
	    public BaseResponse idoDeleteById(long id);
	    
	    public Page<Carousel> query(Page page,String name);
	    
	    public String queryToJsonStr(Page page,String name);
}
